package com.lp.mgt.utils;

import java.util.ArrayList;
import java.util.UUID;

public class UUIDUtil {
	public static String getUUID() {
		return UUID.randomUUID().toString().replaceAll("-", "");
	}
	
	public static String[] getUUIDs(int number) {
		ArrayList<String> ids=new ArrayList<String>();
		while(number>0) {
			ids.add(UUID.randomUUID().toString().replaceAll("-", ""));
			number--;
		}
		return (String[]) ids.toArray();
	}
}
